FROM java:8
VOLUME /tmp
ADD seckill-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 28080
RUN bash -c 'touch /app.jar'
ENTRYPOINT ["java", "-jar", "/app.jar", "--spring.profiles.active=pro"]